package com.nhim.cms.admin.client.rpc;

import java.util.List;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.nhim.cms.admin.shared.ContentTypeElementDefinitionRPCProxy;
@RemoteServiceRelativePath("contentTypeElementDefinitionRPCService")
public interface ContentTypeElementDefinitionRPCService extends RemoteService {
	 List<ContentTypeElementDefinitionRPCProxy> findByContentTypeId(Integer contentTypeId) throws IllegalArgumentException;
	 Boolean persitContentTypeElementDefinitioinsIdandPositionOnly(Integer contentTypeId,List<Integer> elementDefinitionIds) throws IllegalArgumentException;
	 Boolean persitContentTypeElementDefinitioinsIsRequiredAndDescriptionOnly(List<ContentTypeElementDefinitionRPCProxy> list) throws IllegalArgumentException;
}
